package com.hitqz.robot.driver.dto.robot;


import com.alibaba.fastjson.annotation.JSONField;

import java.io.Serializable;

/**
 * @author xupkun
 * @date 2023/8/3
 */
//@ApiModel(value = "查询机器人的运行信息")
public class RobotStatusRunningDto implements Serializable {


    private static final long serialVersionUID = 1269461678916809166L;

   //累计行驶里程")
    private int odo;

   //今日累计行驶里程")
    @JSONField(name = "today_odo")
    private int todayOdo;

   //本次运行时间,单位ms")
    private long time;

   //累计运行时间")
    @JSONField(name = "total_time")
    private long totalTime;

    @JSONField(name = "controller_temp")
    private float controllerTemp;

    @JSONField(name = "controller_humi")
    private float controllerHumi;

    @JSONField(name = "controller_voltage")
    private float controllerVoltage;

   //api错误码")
    @JSONField(name = "ret_code")
    private int retCode;

   //api上传时间戳")
    @JSONField(name = "create_on")
    private String createOn;

   //错误信息")
    @JSONField(name = "err_msg")
    private String errMsg;

    public int getOdo() {
        return odo;
    }

    public void setOdo(int odo) {
        this.odo = odo;
    }

    public int getTodayOdo() {
        return todayOdo;
    }

    public void setTodayOdo(int todayOdo) {
        this.todayOdo = todayOdo;
    }

    public long getTime() {
        return time;
    }

    public void setTime(long time) {
        this.time = time;
    }

    public long getTotalTime() {
        return totalTime;
    }

    public void setTotalTime(long totalTime) {
        this.totalTime = totalTime;
    }

    public float getControllerTemp() {
        return controllerTemp;
    }

    public void setControllerTemp(float controllerTemp) {
        this.controllerTemp = controllerTemp;
    }

    public float getControllerHumi() {
        return controllerHumi;
    }

    public void setControllerHumi(float controllerHumi) {
        this.controllerHumi = controllerHumi;
    }

    public float getControllerVoltage() {
        return controllerVoltage;
    }

    public void setControllerVoltage(float controllerVoltage) {
        this.controllerVoltage = controllerVoltage;
    }

    public int getRetCode() {
        return retCode;
    }

    public void setRetCode(int retCode) {
        this.retCode = retCode;
    }

    public String getCreateOn() {
        return createOn;
    }

    public void setCreateOn(String createOn) {
        this.createOn = createOn;
    }

    public String getErrMsg() {
        return errMsg;
    }

    public void setErrMsg(String errMsg) {
        this.errMsg = errMsg;
    }
}
